//---------------------------------------------------------------------------

#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ActnList.hpp>
#include <ActnMan.hpp>
#include <ExtCtrls.hpp>
#include <ImgList.hpp>
#include <PlatformDefaultStyleActnCtrls.hpp>
#include <Ribbon.hpp>
#include <RibbonLunaStyleActnCtrls.hpp>
#include <RibbonSilverStyleActnCtrls.hpp>
#include <ActnCtrls.hpp>
#include <ActnMenus.hpp>
#include <RibbonActnMenus.hpp>
#include <ToolWin.hpp>
#include <RibbonObsidianStyleActnCtrls.hpp>
//---------------------------------------------------------------------------
class TMF : public TForm
{
__published:	// IDE-managed Components
	TRibbon *Ribbon;
	TActionManager *ActionManager;
	TImageList *RibbonImageList;
	TScrollBox *ScrollBox;
	TImage *Image;
	TRibbonPage *PositionTab;
	TRibbonPage *TransitionTab;
	TRibbonPage *ArcTab;
	TRibbonApplicationMenuBar *Menu;
	TAction *CloseApp;
	TAction *OpenSettings;
	TAction *CreatePN;
	TAction *OpenPN;
	TAction *SavePN;
	TAction *SaveAsPN;
	TAction *ClosePN;
	void __fastcall CloseAppExecute(TObject *Sender);
	void __fastcall OpenSettingsExecute(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall CreatePNExecute(TObject *Sender);
	void __fastcall OpenPNExecute(TObject *Sender);
	void __fastcall SavePNExecute(TObject *Sender);
	void __fastcall SaveAsPNExecute(TObject *Sender);
	void __fastcall ClosePNExecute(TObject *Sender);
private:	// User declarations
	void setLanguage(UnicodeString language); 	//set application language
	void setSettings(); 						//set application settings
public:		// User declarations
	__fastcall TMF(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMF *MF;
//---------------------------------------------------------------------------
#endif
